package com.original.simuladoresws.service.impl;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.original.simuladoresws.dao.ProductDao;
import com.original.simuladoresws.dao.impl.ProductDaoImpl;
import com.original.simuladoresws.entities.TbProduct;
import com.original.simuladoresws.service.ProductService;

@Repository("productService")
public class ProductServiceImpl implements ProductService {
	
	ProductDao productDao = new ProductDaoImpl();

	@Override
	public List<TbProduct> getListActiveProducts() {
		return productDao.getListActiveProducts();
	}

	@Override
	public List<TbProduct> fixedIncomeComparsionsGetList() {
		return productDao.fixedIncomeComparsionsGetList();
	}
}
